package com.wfcm.service;

import com.wfcm.entity.WfCourseChapterEntity;

import java.util.List;
import java.util.Map;

/**
 * 课程章节信息
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-01-22 19:07:12
 */
public interface WfCourseChapterService {
	
	WfCourseChapterEntity queryObject(Integer chapterId);
	
	WfCourseChapterEntity queryObjectById(Integer chapterId);

	public WfCourseChapterEntity queryObjectIgnoreStatus(Integer chapterId);

	WfCourseChapterEntity queryCourseChapter(Integer chapterId);
	
	List<WfCourseChapterEntity> querySimpleChapter(Map<String, Object> map);
	
	WfCourseChapterEntity queryChapter(Map<String, Object> map);
	
	List<WfCourseChapterEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(WfCourseChapterEntity wfCourseChapter);
	
	void update(WfCourseChapterEntity wfCourseChapter);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	WfCourseChapterEntity queryChapter(Integer id);

	WfCourseChapterEntity querySimpleObject(Integer id);
	
	List<WfCourseChapterEntity> queryFreeObject(Map<String, Object> map);

	List<WfCourseChapterEntity> querySearchList(Map<String, Object> map);
}
